Skip to main content
POST
/
v2
/
geoprovenance
/
origin
[DEPRECATED] Get component-level Geo Provenance by contributor origin commit times
curl --request POST \
  --url https://api.example.com/v2/geoprovenance/origin \
  --header 'Content-Type: application/json' \
  --data '
{
  "purls": [
    {
      "purl": "<string>",
      "requirement": "<string>"
    }
  ]
}
'
{
  "purls": [
    {
      "purl": "<string>",
      "locations": [
        {
          "name": "<string>",
          "percentage": 123
        }
      ],
      "info_message": "<string>",
      "info_code": "<string>"
    }
  ],
  "status": {
    "status": "UNSPECIFIED",
    "message": "<string>",
    "db": {
      "schema_version": "<string>",
      "created_at": "<string>"
    },
    "server": {
      "version": "<string>"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.scanoss.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Purl request data (JSON payload) WARNING: PurlRequest is deprecated, use ComponentsRequest instead.

Purl request data (JSON payload) WARNING: PurlRequest is deprecated, use ComponentsRequest instead.

purls
TODO: Refactor this API - Remove nested Purls message and replace with top-level Purl message type. - Update field definition below to: repeated Purl purls = 1; · object[]

Response

A successful response.

[DEPRECATED] Component level Origin Response data (JSON payload) This message is deprecated. Use ComponentOriginResponse instead for better component handling. Contains geo-provenance information based on contributor origin commit times.

purls
Origin country details for geo-provenance analysis Information about the given Package URL (PURL) · object[]
status
object

Detailed response details.